package com.sjzl.service;

import java.io.File;
import java.util.List;

import com.sjzl.entity.UploadFile;

public interface UploadFileService extends BaseService<UploadFile>{
	/**
	 * struts2文件上传
	 * @param upload
	 * @param uploadFileName
	 * @param uploadContentType
	 */
	public void upload(File[] upload,String[] uploadFileName,String[] uploadContentType);
	
	/**
	 * 获取对应帖子的附件
	 * @param post_id
	 * @return
	 */
	public List<UploadFile> loadDownFile(Integer post_id); 
}
